package com.chtw.oasystem.utils;

import com.chtw.oasystem.bean.FullUserInfo;
import com.chtw.oasystem.bean.Users;

import javax.servlet.http.HttpSession;

/**
 * @author chtw
 * @date 2020-11-16 21:10
 */
public class Session {
    public static FullUserInfo getCurrentUser(HttpSession session) {
        return (FullUserInfo) session.getAttribute("user_info");
    }
}
